package com.example.wechatdaka.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lx
 * @since 2020-11-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lx_menu")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**
     * 菜单名
     */
    @TableField("lxMenuName")
    private String lxMenuName;

    /**
     * 序号
     */
    @TableField("lxOrder")
    private String lxOrder;

    /**
     * 父级
     */
    @TableField("lxFather")
    private String lxFather;

    /**
     * 图标
     */
    @TableField("lxIcon")
    private String lxIcon;

    /**
     * 链接
     */
    @TableField("lxLink")
    private String lxLink;
    @TableField(exist = false)
    private List<Menu> childMenu;

}
